package com.strato.passport.server.v1_0_0.service;

public class PassportConfig {

	public static final String DEFAULT_REDIRECT_URL_PARAMETER_NAME="redirecturl";

	private static final String DEFAULT_POPUP_PARAMETER_NAME = "popup";

	private static final String DEFAULT_TICKET_PARAMETER_NAME = "ticket";

	private static final String DEFAULT_LOGIN_STATUS_ATTRIBUTE_NAME = "loginStatus";

	private static final String DEFAULT_USER_ATTRIBUTE_IN_SESSION = "USER_INFO";

	private static final String DEFAULT_JSONP_CALLBACK_PARAMETER_NAME = "loginCallback";
	
	private String redirecturlParameterName=DEFAULT_REDIRECT_URL_PARAMETER_NAME;
	
	private String popupParameterName=DEFAULT_POPUP_PARAMETER_NAME;
	
	private String ticketParameterName=DEFAULT_TICKET_PARAMETER_NAME;
	
	private String loginStatusAttributName=DEFAULT_LOGIN_STATUS_ATTRIBUTE_NAME;
	
	private String userAttributeInSession=DEFAULT_USER_ATTRIBUTE_IN_SESSION;

	private String jsonpCallbackParameterName=DEFAULT_JSONP_CALLBACK_PARAMETER_NAME;
	
	public String getRedirecturlParameterName() {
		return redirecturlParameterName;
	}

	public String getPopupParameterName() {
		return popupParameterName;
	}

	public String getTicketParameterName() {
		return ticketParameterName;
	}

	public String getLoginStatusAttributName() {
		return loginStatusAttributName;
	}

	public String getUserAttributeInSession() {
		return userAttributeInSession;
	}

	public void setRedirecturlParameterName(String redirecturlParameterName) {
		this.redirecturlParameterName = redirecturlParameterName;
	}

	public void setPopupParameterName(String popupParameterName) {
		this.popupParameterName = popupParameterName;
	}

	public void setTicketParameterName(String ticketParameterName) {
		this.ticketParameterName = ticketParameterName;
	}

	public void setLoginStatusAttributName(String loginStatusAttributName) {
		this.loginStatusAttributName = loginStatusAttributName;
	}

	public void setUserAttributeInSession(String userAttributeInSession) {
		this.userAttributeInSession = userAttributeInSession;
	}

	public String getJsonpCallbackParameterName() {
		return jsonpCallbackParameterName;
	}

	public void setJsonpCallbackParameterName(String jsonpCallbackParameterName) {
		this.jsonpCallbackParameterName = jsonpCallbackParameterName;
	}

}
